package com.lovo.invoicing.service;

import com.lovo.invoicing.bean.SaleCartBean;
import com.lovo.invoicing.bean.vo.OutGoodsBean;

import java.util.List;

public interface ISaleCartService {

    int addIntoCart(OutGoodsBean outGoodsBean,int userId);

    int updateSaleCart(SaleCartBean saleCartBean);

    void deleteSaleCartById(int saleCartId);

    void deleteAllSaleCart(int userId);

    List<SaleCartBean> querySaleCarts(int userId);
}
